<?php /* Smarty version Smarty-3.0.7, created on 2011-05-10 21:57:52
         compiled from "../templates/verNota.tpl" */ ?>
<?php /*%%SmartyHeaderCode:106774dca09402b18e9-46706428%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '34c9e563085765bf7cf74a79f1e601bd384c4422' => 
    array (
      0 => '../templates/verNota.tpl',
      1 => 1305086270,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '106774dca09402b18e9-46706428',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'C:\Smarty\libs\plugins\modifier.date_format.php';
?><?php $_template = new Smarty_Internal_Template('../../templates/header.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div id="notaContainer">
    <?php if ($_smarty_tpl->getVariable('arrNota')->value['imagen']){?>
        <div class="fotoBorder">
            <img class="ANFoto" src="/fotos/<?php echo $_smarty_tpl->getVariable('arrNota')->value['imagen'];?>
" alt="">
            <span class="pieFoto"><?php echo $_smarty_tpl->getVariable('arrNota')->value['piefoto'];?>
</span>
        </div>    
    <?php }?>
    <h3><?php echo $_smarty_tpl->getVariable('arrNota')->value['titulo'];?>
</h3>    
    <div id="descripcion"><?php echo $_smarty_tpl->getVariable('arrNota')->value['descripcion'];?>
</div>
    <div id="seccionFecha"><?php echo $_smarty_tpl->getVariable('arrNota')->value['seccion'];?>
<br /><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('arrNota')->value['fechaPublicacion'],"%d-%m-%Y");?>
 <?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('arrNota')->value['horaPublicacion'],'%H:%M');?>
</div>
    <div><?php echo html_entity_decode($_smarty_tpl->getVariable('arrNota')->value['texto'],@ENT_QUOTES,'utf-8');?>
</div> 
    <div class="banner728x90Nota">
		<script type='text/javascript'><!--// <![CDATA[
    /* [id2] www.masmedio.com\/ - 728x90 */
    OA_show(2);
// ]]> --></script><noscript><a target='_blank' href='http://www.masmedio.com/openx285/openx285/www/delivery/ck.php?n=1e8bd3a'><img border='0' alt='' src='http://www.masmedio.com/openx285/openx285/www/delivery/avw.php?zoneid=2&amp;n=1e8bd3a' /></a></noscript>
	</div>   
    <div id="sendComments">
    	<a class="leerMasComents" href="#frmComments">Env&iacute;e un Comentario</a>
        <div id="frmComments">
        	<form action="" method="post" name="frmSendComments">
            	<table>
                	<tr>
                    	<td>
                        	<input type="text" value="Nombre" id="userName" name="userName" onfocus="clearText(this)" class="txtNotas">
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<input type="text" value="Email" id="userEmail" name="userEmail" onfocus="clearText(this)" class="txtNotas">
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<textarea id="txtComment" rows="5" cols="" name="txtComment" onfocus="clearText(this)" class="txtNotas">Escribe tu comentario Aqui.</textarea>
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<?php echo $_smarty_tpl->getVariable('recaptcha')->value;?>

                        </td>
                    </tr>
                    <tr>
                    	<td>
							<input type="button" value="Enviar Comentario" onclick="sendComment()" name="btnComentar" id="btnComentar">
                            <input type="hidden" value="<?php echo $_smarty_tpl->getVariable('notaID')->value;?>
" name="notaid">
                        </td>
                    </tr>
                </table>
            </form>
        </div>
	</div>    
    <div id="commentBox">
    	<?php  $_smarty_tpl->tpl_vars['comment'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('commentList')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['comment']->key => $_smarty_tpl->tpl_vars['comment']->value){
?>
			<div style="border: 1px #666 dotted; float:left; clear:both; margin-top:10px; padding:10px;">
                <div class="nomComent"><?php echo $_smarty_tpl->tpl_vars['comment']->value['user'];?>
</div>
                <div class="fechaComent"><?php echo $_smarty_tpl->tpl_vars['comment']->value['fechaCreado'];?>
</div>
                <div class="coment"><?php echo $_smarty_tpl->tpl_vars['comment']->value['comentario'];?>
</div>
			</div>
        <?php }} ?>
    </div>    
</div>
<div id="latDer">
<?php $_template = new Smarty_Internal_Template('../../templates/latDer.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
</div>
	
<?php $_template = new Smarty_Internal_Template('../../templates/footer.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>